package artid.com.arttogoa.xml;

import java.util.List;

import artid.com.arttogoa.parser.FilesBean;
import artid.com.arttogoa.parser.FolderBean;

public interface FilesParserImpl {
	/**
	 * 
	 * 解析输入流，获取Beauty列表
	 * 
	 * @param is
	 * @return
	 * @throws Exception
	 */
	public List<FilesBean> parse(String str) throws Exception;
	/**
	 * 
	 * 解析输入流，获取Beauty列表
	 * 
	 * @param is
	 * @return
	 * @throws Exception
	 */
	public List<FolderBean> parseF(String str) throws Exception;
	/**
	 * 
	 * 解析输入流，获取MAC地址
	 * 
	 * @param is
	 * @return
	 * @throws Exception
	 */
	public String parseMac(String str) throws Exception;

	/**
	 * 
	 * 序列化Beauty对象集合，得到XML形式的字符串
	 * 
	 * @param beauties
	 * @return
	 * @throws Exception
	 */
	public String serialize(List<FilesBean> beauties) throws Exception;

}